import { IEditorUI, IFileEditor } from "../editorbase.js";
import { Image_EditorUI } from "./editor.js";
import * as EUI from "../../eui/EUI.js"

export class Image_Editor implements IFileEditor {

    getName(): string {
        return "Image";
    }
    getCareExts(): string[] {
        return [".png", ".jpg", ".jpeg"];
    }
    newEditorUI(): IEditorUI {
        return new Image_EditorUI();
    }
    supportNewFile(): boolean {
        return false;
    }
    async newFileAsync(filename: string, win: EUI.EUI_Window): Promise<boolean> {
        return false;
    }
}